package com.caocaog.market.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.common.system.base.entity.AllEntity;

import java.io.Serializable;

/**
 * 商品属性
 *
 * @author jeecg-boot
 * @date 2021-11-12
 */
@Data
@Accessors(chain = true)
@TableName("mk_goods_attribute")
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "mk_goods_attribute对象", description = "商品属性")
public class GoodsAttr extends AllEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "ID")
    private String id;

    @ApiModelProperty(value = "商品id")
    private String goodsId;

    @ApiModelProperty(value = "属性名称")
    private String name;

    @ApiModelProperty(value = "属性值")
    private String value;

}
